﻿using LJX.SmartPark.Common.ResponseOutput;
using LJX.SmartPark.Domain.SafeManage;
using LJX.SmartPark.Domain.Student;
using LJX.SmartPark.Domain.SysManage;
using LJX.SmartPark.Service.SysManage;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LJX.SmartPark.Service.SafeManage
{
    public interface IPatrolCollocateService : ITransientService
    {
        Task<Response<List<PatrolCollocate>>> GetListPatrolCollocateAsync();
        Task<Response<List<PatrolCollocate>>> GetPatrolCollocateAsync(PatrolCollocateForm form);
        Task<Response<bool>> PostAddPatrolCollocate(PatrolCollocate input);
        Task<Response<bool>> DeleteByIdAsync(PatrolCollocate input);
        Task<Response<bool>> PutUpdatePatrolCollocate(PatrolCollocate input);
    }

    public class PatrolCollocateForm
    {
        public int pageIndex { get; set; }

        public int pageSize { get; set; }

        public string name { get; set; }

        public string num { get; set; }

        public int pid { get; set; }

    }
}
